package com.example.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author： wzz
 * @date： 2021-10-19 10:25
 */

@Slf4j
@Controller
public class consoleController {

    @RequestMapping(value = "/back/go/{url}")
    public String backGo(@PathVariable("url") String url) {
        return url;
    }

    @RequestMapping(value = "/back/console")
    public String backGo() {
        return "back/console";
    }


}
